<p>This is <a id="start" href="a">link_1</a>.</p>
<br>This is <a id="1" style="display:none;" href="a">you should not see me</a> hidden link.<br>
<p>This is <a id="end" href="a">link_2</a>.</p>

<p>This test is to test that focusable elements with display:none do not grab the focus.</p>

<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<script src="resources/snav-testharness.js"></script>
<script>
  var resultMap = [
    ["Down", "end"],
  ];

  // Start at a known place.
  document.getElementById("start").focus();
  snav.assertFocusMoves(resultMap);
</script>
